Skip to content

Add county accessor to Mapbox result to match other geocoder result interfaces#1704

Merged
alexreisner merged 1 commit intoalexreisner:masterfrom
pzaich:add-mapbox-county-tests
Feb 22, 2026
Merged

Add county accessor to Mapbox result to match other geocoder result interfaces#1704
alexreisner merged 1 commit intoalexreisner:masterfrom
pzaich:add-mapbox-county-tests

Conversation

@pzaich
Copy link
Contributor

@pzaich pzaich commented Feb 21, 2026

This is a pretty straightforward extension to the existing Mapbox result. When switching from another provider to Mapbox, the returned result object no longer had a defined county method defined.

…s district context field. This follows the same pattern as the existing city/state/country methods.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@pzaich pzaich force-pushed the add-mapbox-county-tests branch from 03e1309 to 20cffe5 Compare February 21, 2026 06:16
@alexreisner alexreisner merged commit 2d3be47 into alexreisner:master Feb 22, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants